<template>
  <div>
    <!-- 置顶新闻 -->
    <div class="newWrap" v-for="i in newData.bangumi">
      <img :src="i.pic" alt="" width="100%">
      <label>
        <a target="_blank" :href="i.redirect_url">{{ i.title }}</a>
      </label>
    </div>

    
  </div>
</template>
<script>
import axios from "axios";
export default {
  name: "listWrap",
  data() {
    return {
      newData: "",
    };
  },
  created() {
    axios.get("/index/ding.json").then((_d) => {
      // console.log(_d.data);
      this.newData = _d.data;
    });
  },
};
</script>
<style scoped>
.newWrap label a {
  font-size: 0.6rem;
  color: #000;
}
</style>